For ease of installation, I wrote about the GD installation process. I hope my friends will give me more comments. thank you! Originally, GD did not support WBMP, and now expanded GD to support WBMP.
Use php to support gif, jpeg, ttf, and wbmp
For
The error code is as follows: {code...} the error code is as follows:
root@ubuntu:~/lnmp/src/php-5.6.14/ext/gd# make && make install/bin/bash /root/lnmp/src/php-5.6.14/ext/gd/libtool --mode=compile cc -I/root/lnmp/src/php-5.6.14/ext/gd/libgd -DHAVE_
How to enable the GD Library in PHP. Opening the GD Library is an important parameter in php. it is often used to process images. any processing of images requires the support of the GD Library, next I will introduce the methods and commands for
Open GD Library is an important parameter in PHP, commonly used to deal with images, such as images of any processing requires the support of the GD library, below I introduce the various systems of GD library open methods and commands, we can refer
Opening the GD library is an important parameter in php. It is often used to process images. Any processing of images requires the support of the GD library, the following describes how to enable the GD library in various systems.
Enable GD
We are using
GetImageSizeEffect: Gets the size of the picture [i.e. length and width]PHP GD Library Usage: array getimagesize (string filename, array [imageinfo]);
ImagearcFunction: Draw an arcUsage: int Imagearc (int im, int cx, int cy, int w, int
Apache|mysql|php5
Linux to configure the APACHE2.0.50+PHP5.0.3+MYSQL4.0.20+GD library a few days ago, upgrade the server, because of the GD library. Make no PHP4.3.8 so it's a step by step PHP5
In fact, the installation steps and PHP4 only a
Enable GD library support for PHP in WindowsFind php. ini, open the content, and find:; Extension = php_gd2.dllRemove the semicolon ";" at the beginning and save it. If there is no semicolon, it is enabled.Enable GD library support for PHP in Linux#
Compile GD in linux (freetype + libjpeg + libpng + gd-devel)1. Check whether freetype is installedRpm-qa | grep freetypeIf not, compile freetype and download it here../Configure -- prefix =/usr/local/freetype
Make & make install.2. Check whether
In Linux, configure APACHE2.0.55 + PHP5.1.1 + MYSQL5.0.16 + GD library-Linux Enterprise Application-Linux server application information. For more information, see the following. Configure APACHE2.0.55 + PHP5.1.1 + MYSQL5.0.16 + GD library in redhat
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.